Autodetect Pi version and install correct GPIO config