These are Java properties, not Quarkus properties, thus you can’t set them in quarkus.properties file.
Additionally, there’s no general need to modify the kc.sh script, just set your env var JAVA_OPTS_APPEND with the additional Java options and you are good to go.