avcodec/microdvddec: Check for string end in 'P' case