hardware_samsung: fix compilation errors