fix gcc 4.9.3 errors

- thanks flar2 for msm-pm.c fix