Create an XRect from a standard PDF Rectangle ArrayAtom.
Such arrays typically contain four numbers - lower left x and y
coordinates followed by upper right x and y.
However this is a convention and any two diagonally opposite
points are acceptable.
If the array is null or the entries do not resolve to four
NumAtoms then the return value will be null.