Minor updates to 'rilmodem' test scripts

to make them executable in a current Ubuntu x86 emulator environment.

Some of these changes depend on reference-RIL change https://code-review.phablet.ubuntu.com/#/c/270/ .
It's the dots in "1.0.0.0", from https://code-review.phablet.ubuntu.com/gitweb?p=aosp/platform/hardware/ril.git;a=blob;f=reference-ril/reference-ril.c;h=b182c48966b0d378f8900372a46870968eb2fe4c;hb=refs/heads/phablet-4.4.2_r1#l1254 .