qc parser: use memmem instead of custom memstr