init-meta-overrides-script: Fix replacement of layer revision
Fix the replacement of the layer commit hash of META_OVERRIDES variable. The replacement already matched when a substring matched. So the META_OVERRIDES for 'meta-ktn' matched also for 'meta-ktn-imx' and 'meta-ktn-stm32mp'