Minor cleanup: use .ok() instead of if-let
Minor cleanup: use .ok() instead of if-let

These two constructs are equivalent when converting a Result to an
Option, so let's use the shorter built-in.

GNOME/librsvg,GNOME/librsvg,GNOME/librsvg,GNOME/librsvg