Add installation of .pc and header files. Add compile patches to fix errors.
Original fix by raoulh, already included in meta-sunxi dora branch by naguirre.
Ported to master branch and no not switch away from sunxi-mali git repo, instead just
add the needed patches on top of it.
Signed-off-by: Jens Lucius <info@jenslucius.com>