debuginfo: Make limited-debuginfo test case more robust against GDB output variations.

Fixes issue #12787.
auto merge of #12895 : michaelwoerister/rust/limited-debuginfo, r=alexcrichton

Very minor modification of just one test case. Fixes #12787.