itext5: Allow PDF resources as background image

apply flyingsaucerproject/flyingsaucer#51 to itext5 src