Put into ifdef blocks the getprop/setprop_legacy() function declarations