m2mfirmware: optionally constify the static structures
m2mfirmware: optionally constify the static structures

If the old API is disabled by MEMORY_OPTIMIZED_API define,
we can put the sn_nsdl_static_resource_parameters_s structs
to flash to save some precious RAM.

ARMmbed/mbed-client,tridonic-com/mbed-client,tridonic-com/mbed-client,tridonic-com/mbed-client,ARMmbed/mbed-client,ARMmbed/mbed-client