domx: always initialize stride before using it

Change-Id: Id51aafd72d82a7230d19ed6feac058285a8e205f