[TASK][INSTALL] Remove sql.safe_mode handling

sql.safe_mode is a very old approach in PHP. It is not supported
with mysqli anymore and can be removed.