[POWERPC] Make xmon_write accept a const buffer