Change LastPICCError() and LastPCDError to fit Go error conventions

Return nil on success, error on failure.