[PATCH 02/13] pem: Factor out the PKCS#8 decoding code