freedreno/ir3: add helper to create immed of specified size