intel: A couple gen4-5 texture fixes.
These were found while I was hacking on gpu_shader4 for gen4 a month ago or so. We don't have nearly enough tests in piglit yet to think about enabling the extension but these are really bug fixes so we may should land them.