r600g/sb: improve error checking in ra_coalesce pass